
package cn.org.chiss.rhin._2015.registration.organization;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import cn.org.chiss.rhin._2015.base.Integer;
import cn.org.chiss.rhin._2015.base.object.Practitioner;


/**
 * IST-MSR2：响应信息数据类型
 * 
 * <p>PractitionerQueryResponse complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="PractitionerQueryResponse"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;choice&gt;
 *         &lt;element name="totalCount" type="{http://www.chiss.org.cn/rhin/2015}Integer"/&gt;
 *         &lt;element name="from" type="{http://www.chiss.org.cn/rhin/2015}Integer" minOccurs="0"/&gt;
 *         &lt;element name="count" type="{http://www.chiss.org.cn/rhin/2015}Integer" minOccurs="0"/&gt;
 *         &lt;element name="practitioner" type="{http://www.chiss.org.cn/rhin/2015}Practitioner" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/choice&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PractitionerQueryResponse", propOrder = {
    "totalCount",
    "from",
    "count",
    "practitioner"
})
@XmlRootElement(name = "PractitionerQueryResponse")
public class PractitionerQueryResponse {

    protected Integer totalCount;
    protected Integer from;
    protected Integer count;
    protected List<Practitioner> practitioner;

    /**
     * 获取totalCount属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * 设置totalCount属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setTotalCount(Integer value) {
        this.totalCount = value;
    }

    /**
     * 获取from属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getFrom() {
        return from;
    }

    /**
     * 设置from属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setFrom(Integer value) {
        this.from = value;
    }

    /**
     * 获取count属性的值。
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 设置count属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setCount(Integer value) {
        this.count = value;
    }

    /**
     * Gets the value of the practitioner property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the practitioner property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPractitioner().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Practitioner }
     * 
     * 
     */
    public List<Practitioner> getPractitioner() {
        if (practitioner == null) {
            practitioner = new ArrayList<Practitioner>();
        }
        return this.practitioner;
    }
    
    public void setPractitioner(List<Practitioner> practitioner) {
         this.practitioner = practitioner;
    }

}
